package com.crm.jdy.common.dto;

import com.crm.jdy.common.vo.PageVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WOrderInfoDto  extends PageVO implements Serializable {

    private static final long serialVersionUID = 161889531336L;

    @ApiModelProperty(name = "orderId" , value = "采购主键id")
    private Integer orderId;

    @ApiModelProperty(name = "orderTime" , value = "采购日期")
    private String orderTime;

    @ApiModelProperty(name = "orderSup" , value = "供应商")
    private String orderSup;

    @ApiModelProperty(name = "orderMoney" , value = "金额")
    private String orderMoney;

    @ApiModelProperty(name = "orderChaPerson" , value = "负责人")
    private String orderChaPerson;

    @ApiModelProperty(name = "orderStatus" , value = "状态")
    private String orderStatus;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "createTime" , value = "创建时间")
    private Date createTime;

    @ApiModelProperty(name = "orderCrePerson" , value = "创建人")
    private String orderCrePerson;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "updateTime" , value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(name = "isDelete" , value = "")
    private Integer isDelete;
}
